<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>简历</title>
    <!-- vue -->
    <script src="../common/js/vue2.js"></script>
    <!-- 引入通用css -->
    <link rel="stylesheet" href="../common/public.css" />
    <!-- 引入样式vant -->
    <link rel="stylesheet" href="../common/ui/vant-ui/ui.css" />
    <script src="../common/ui/vant-ui/ui.js"></script>
    <!-- 引入http-vue-loader -->
    <script src="../common/js/vueLoader.js"></script>
  </head>
  <body>
    <div id="app">
      <main-top></main-top>
      <div class="mainCenter">
        <div class="pd20 leftContent">
          <!-- 顶部 -->
          <div class="flex jcsb">
            <div class="ndis500"><van-icon name="arrow-left" class="icon"/></div>
            <div class="dis500"></div>
            <div class="flex icongroup jcsa">
              <div><van-icon name="star-o" /></div>
              <div><van-icon name="share-o"/></div>
              <div><van-icon name="warn-o" /></div>
            </div>
          </div>
          <!-- 头像姓名 -->
          <div>
            <div class="flex jcsb mgt20 topBox aic">
              <div>
                <div class="fs18 fwb">{{ userInfo.name }}</div>
                <div class="pfbox">毕业于 {{ userInfo.school }} · {{ userInfo.profession }}</div>
              </div>
              <div class="navar">
                <van-icon name="circle" class="sex"/>
              </div>
            </div>
          </div>
          <!-- 打招呼 -->
          <div class="mgt20">
            <div class="flex jcsb fs14">
              <div class="fwb">{{ userInfo.backType }}</div>
              <div class="ctxt">{{ userInfo.isActive }}</div>
            </div>
            <div class="flex mgt10 fs14">
              <div><van-icon name="star-o" />&nbsp; {{ userInfo.studentsType }}</div>
              <div class="mgxicon"><van-icon name="star-o" />&nbsp; {{ userInfo.edBackground }}</div>
              <div><van-icon name="star-o" />&nbsp; {{ userInfo.age }}</div>
            </div>
            <div class="pah mgt10">{{ userInfo.myTell }}</div>
          </div>
          <!-- 已有简历 -->
          <div class="flex jcsb aic jlbox" v-if="userInfo.isCurriculumVitae">
            <div class="fs14"> <van-icon name="warn-o" size="15"/>&nbsp;已上传简历</div>
            <div class="tag">沟通获取</div>
          </div>
          <!-- 求职期望 -->
          <div>
            <div class="flex aic mgt20">
              <div class="greenDot"></div>
              <div class="fwb fs16">求职期望</div>
            </div>
            <div v-for="i in userInfo.jobExpectation" class="mgt20">
              <div class="flex jcsb aic">
                <div class="fwb flex fs14">{{ i.job }},
                  <div v-for="j in i.city" class="flex spLine">{{ j }}</div>
                </div>
                <div class="prColor fs16">{{ i.money }}</div>
              </div>
              <div class="c9 fs12 mgt10">{{ i.limit }}</div>
            </div>
          </div>
          <!-- 项目经历 -->
          <div>
            <div>
              <div class="flex aic mgt20">
                <div class="greenDot"></div>
                <div class="fwb fs16">项目经历</div>
              </div>
            </div>
            <div v-for="k in userInfo.projectExperience">
              <div  class="flex jcsb mgt20">
                <div class="fwb fs14">{{ k.name }}</div>
                <div class="c7">{{ k.time }}</div>
              </div>
              <div class="mgt20 pah c9">{{ k.msg }}</div>
            </div>
          </div>
          <!-- 教育经历 -->
          <div>
            <div class="mgb20">
              <div class="flex aic mgt20">
                <div class="greenDot"></div>
                <div class="fwb fs16">教育经历</div>
              </div>
            </div>
            <div class="flex jcsb aic">
              <div class="flex aic">
                <div class="navar"></div>
                <div class="textLine">
                  <div class="fwb fs14">{{ userInfo.educationalExperience.name }}</div>
                  <div class="c9">{{ userInfo.educationalExperience.profession }}&nbsp;·&nbsp;{{ userInfo.educationalExperience.edBackground }}</div>
                </div>
              </div>
              <div class="c9">{{ userInfo.educationalExperience.time }}</div>
            </div>
            <div class="c9 mgt10">{{ userInfo.educationalExperience.range }}</div>
            <div class="fwb mgt10">证书:</div>
            <div class="flex">
              <div class="mgt10" v-for="l in userInfo.educationalExperience.certificate">
                <div class="mgl20">{{ l }}</div>
              </div>
            </div>
          </div>
          <div class="line"></div>
          <!-- 按钮 -->
          <div class="flex jcse mgt20">
            <van-button type="primary" class="f1 mgr20" size="small">立刻沟通</van-button>
            <div style="width: 20px;"></div>
            <van-button type="primary" class="f1" size="small">邀请面试</van-button>
          </div>
        </div>
        <lan-adright></lan-adright>
      </div>
      <main-footer class="bd"></main-footer>
    </div>
  </body>
</html>
<style>
  .icon{
    font-size: 20px;
    font-weight: bold;
  }
  .icongroup{
    width: 100px;
    font-size: 20px;
    font-weight: bold;
  }
  .mgxicon{
    margin: 0 5px;
  }
  .topBox{
    height: 70px;
  }
  .navar {
    width: 50px;
    height: 50px;
    border: 1px solid #eee;
    border-radius: 50px;
    margin-right: 10px;
    position: relative;
  }
  .sex {
    position: absolute;
    font-size: 12px;
    color: #fff;
    background-color: #0fa0e4;
    border: 1px solid #fff;
    border-radius: 50px;
    padding: 2px;
    right: 0;
  }
  .pfbox{
    width: 230px;
    font-size: 14px;
    color: #999;
    margin-top: 5px;
  }
  .jlbox{
    margin-top: 10px;
    background-color: #f8f6f6;
    padding: 10px;
    border-radius: 5px;
  }
  .tag{
    font-size: 11px;
    padding: 2px 10px;
    background-color: #fff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
  } 
  .greenDot{
    width: 5px;
    height: 5px;
    background-color:var(--primary-color);
    border-radius: 100px;
    margin-right: 5px;
  }
  .textLine{
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .line{
    border-bottom: 1px solid #faf2f2;
    padding: 10px 0;
  }
  .spLine{
    padding: 0 5px;
    border-right: 1px solid #ebedf0;
  }
  .spLine:last-child{
    border-right: none;
  }
</style>
<script>
  new Vue({
    el: "#app",
    data: {
      userInfo:{
        name:'ppp',
        school:'黄州白云学院',
        profession:'计算机科学与技术',
        backType:'离校-随时到岗',
        isActive:'今日活跃',
        studentsType:'24年应届生',
        edBackground:'本科',
        age:23,
        myTell:`啊发生发哈，发生佛啊沙发上案件佛奥十分骄傲送风机奥法骄傲
        啊沙发沙发 12412 34234235 532 5 发发生发 饿啊啊是发发发
        鬼斧神工是德国是豆腐干山豆根山豆根山豆根山豆根山豆根根深蒂固的是`,
        isCurriculumVitae:true,
        jobExpectation:[
          {job:'前端/移动开发',city:['广州','深圳'],limit:'行业不限',money:'4-5k'}
        ],
        projectExperience:[
          {name:'白云吧专栏 前端编写',time:'2023.06-至今',msg:`撒法发发生飞洒飞洒飞洒发发发asfsaf
          撒旦法发撒法撒旦发射点光辐射大概的撒哥打发发发飞洒发顺丰双方的撒法发发生法发飞洒发顺丰萨达
          23142423所发生的嘎是大概是个第三个发生过的事告诉哥哥身份VS的灌水灌水灌水.
          `},
          {name:'白云吧专栏 前端编写',time:'2023.06-至今',msg:`撒法发发生飞洒飞洒飞洒发发发asfsaf
          撒旦法发撒法撒旦发射点光辐射大概的撒哥打发发发飞洒发顺丰双方的撒法发发生法发飞洒发顺丰萨达
          23142423所发生的嘎是大概是个第三个发生过的事告诉哥哥身份VS的灌水灌水灌水.
          `},
        ],
        educationalExperience:{name:'广东白云学院',img:'',time:'2022-2024',profession:'计算机科学与技术',edBackground:'本科',
        range:'专业前20%',certificate:['计算机三级','高级厨师']
      }
      }
    },
    components: {
      "main-top": httpVueLoader("../common/commpent/main/workTop.vue"),
      "main-footer": httpVueLoader("../common/commpent/main/mainFooter.vue"),
      "lan-adright": httpVueLoader("../common/commpent/lan/adRight.vue"),
    },
    methods: {},
  });
</script>
